package com.xwj.controller.error;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by thinkjoy on 2017/7/14.
 */
@Controller
@RequestMapping("/error/")
public class CustomErrorController {

    @RequestMapping("404")
    public String show404() {
        return "error/404";
    }

    @RequestMapping("500")
    public String show500() {
        return "error/500";
    }
}
